package com.rr.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.Data;

/**
 * @author zhuangcanrun
 * @Date 2021/11/25/0:19
 * @description
 **/


@Data
@TableName("user")
@Builder
public class User {
    private Long id;
    private String name;
    private Integer age;
    private String email;

    public User() {
    }

    public User setName(String name) {
        this.name = name;
        return this;
    }
}